﻿using System.Web.Mvc;
using SOLInfo.GEN.Repository.Config;
using NHibernate;

namespace SOLInfo.GEN.WebMVC.Controllers
{
    public class HomeController : Controller
    {
        ISession sessao;

        public HomeController()
        {
            sessao = AutoConfiguracao.session.OpenSession();
        }

        public ActionResult Index()
        {
            var x = AutoConfiguracao.session;
            return View();
        }
    }
}
